import request from "../request"

export const loginApi = (params:ILoginParams):Promise<IResponse<ILoginResponse>> =>request.post("/admin/login",params)

export const userInfoApi = () :Promise<IResponse<IUserInfoResponse>> =>request.get("/admin/info")




